package me.magicall.coll.compartible;

import me.magicall.coll.ElementTransformer;

public class IgnoreCaseStrKeyMap<V> extends AbsCompartibleMap<String, String, V> {

	private static final ElementTransformer<String, String> TO_LOWER_CASE = new ElementTransformer<String, String>() {
		@Override
		public String transform(final int index, final String element) {
			return element.toLowerCase();
		}
	};

	@Override
	protected ElementTransformer<? super String, ? extends String> keyTransformer() {
		return TO_LOWER_CASE;
	}

}
